package liy.demo.wikiproject.resp;

import java.util.HashMap;
import java.util.Map;

public class CommonResp<T> {
    private  boolean success = true;

    private String message;

    private T content;

    public Map<String, String> getExtras() {
        return extras;
    }

    public void setExtras(Map<String, String> extras) {
        this.extras = extras;
    }

    private Map<String, String> extras;

    public CommonResp() {
        extras = new HashMap<>();
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getContent() {
        return content;
    }

    public void setContent(T content) {
        this.content = content;
    }
}
